package com.gao.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Projectname springboot-03-web
 * @Filename HelloController
 * @Author an
 * @Data 2022/8/8 9:12
 * @Description TODO
 */
@RestController
public class HelloController {

    @GetMapping ("/hello")
    public String hello(){
        return "hello,world";
    }
}
